home *** CD-ROM | disk | FTP | other *** search
/ Programming Microsoft Visual Basic .NET / Programming Microsoft Visual Basic .NET (Microsoft Press)(X08-78517)(2002).bin / setup / vbnet / 23 web forms and controls / databinding / web.config < prev    next >
Encoding:
Extensible Markup Language  |  2002-02-21  |  3.1 KB  |  74 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <configuration>
  3.     
  4.   <system.web>
  5.  
  6.     <!--  DYNAMIC DEBUG COMPILATION
  7.           Set compilation debug="true" to insert debugging symbols (.pdb information)
  8.           into the compiled page. Because this creates a larger file that executes
  9.           more slowly, you should set this value to true only when debugging and to
  10.           false at all other times. For more information, refer to the documentation about
  11.           debugging ASP.NET files.
  12.     -->
  13.     <compilation defaultLanguage="vb" debug="true" />
  14.  
  15.     <!--  CUSTOM ERROR MESSAGES
  16.           Set customErrors mode="On" or "RemoteOnly" to enable custom error messages, "Off" to disable. 
  17.           Add <error> tags for each of the errors you want to handle.
  18.     -->
  19.     <customErrors mode="RemoteOnly" />
  20.  
  21.     <!--  AUTHENTICATION 
  22.           This section sets the authentication policies of the application. Possible modes are "Windows", 
  23.           "Forms", "Passport" and "None"
  24.     -->
  25.     <authentication mode="Windows" /> 
  26.  
  27.  
  28.     <!--  AUTHORIZATION 
  29.           This section sets the authorization policies of the application. You can allow or deny access
  30.           to application resources by user or role. Wildcards: "*" mean everyone, "?" means anonymous 
  31.           (unauthenticated) users.
  32.     -->
  33.     <authorization>
  34.         <allow users="*" /> <!-- Allow all users -->
  35.  
  36.             <!--  <allow     users="[comma separated list of users]"
  37.                              roles="[comma separated list of roles]"/>
  38.                   <deny      users="[comma separated list of users]"
  39.                              roles="[comma separated list of roles]"/>
  40.             -->
  41.     </authorization>
  42.  
  43.     <!--  APPLICATION-LEVEL TRACE LOGGING
  44.           Application-level tracing enables trace log output for every page within an application. 
  45.           Set trace enabled="true" to enable application trace logging.  If pageOutput="true", the
  46.           trace information will be displayed at the bottom of each page.  Otherwise, you can view the 
  47.           application trace log by browsing the "trace.axd" page from your web application
  48.           root. 
  49.     -->
  50.     <trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" />
  51.  
  52.  
  53.     <!--  SESSION STATE SETTINGS
  54.           By default ASP.NET uses cookies to identify which requests belong to a particular session. 
  55.           If cookies are not available, a session can be tracked by adding a session identifier to the URL. 
  56.           To disable cookies, set sessionState cookieless="true".
  57.     -->
  58.     <sessionState 
  59.             mode="InProc"
  60.             stateConnectionString="tcpip=127.0.0.1:42424"
  61.             sqlConnectionString="data source=127.0.0.1;user id=sa;password="
  62.             cookieless="false" 
  63.             timeout="20" 
  64.     />
  65.  
  66.     <!--  GLOBALIZATION
  67.           This section sets the globalization settings of the application. 
  68.     -->
  69.     <globalization requestEncoding="utf-8" responseEncoding="utf-8" />
  70.    
  71.   </system.web>
  72.  
  73. </configuration>
  74.